package com.bdqn.oa.entity;


import java.time.LocalDateTime;

/**
 * 公告类
 *
 * @author zhouxw
 */
public class Announcement {
    /**
     * id
     */
    private Integer id;
    /**
     * 公告标题
     */
    private String title;
    /**
     * 公告内容,格式:"[人事变动]xx部门经理变更"
     */
    private String content;
    /**
     * 发布时间
     */
    private LocalDateTime datetime;
    /**
     * 发布人姓名,格式:"[xx部门]张经理"
     */
    private String employeeName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    public LocalDateTime getDatetime() {
        return datetime;
    }

    public void setDatetime(LocalDateTime datetime) {
        this.datetime = datetime;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    @Override
    public String toString() {
        return "Announcement{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", datetime=" + datetime +
                ", employeeName='" + employeeName + '\'' +
                '}';
    }
}
